home *** CD-ROM | disk | FTP | other *** search
-
- //============================================================
- #ifndef _MENU_H_
- #define _MENU_H_
- //============================================================
-
-
- //------------------------------------------------------------
- // Name: Menu class
- // Desc: **********
- //------------------------------------------------------------
- class MENU
- {
- private:
-
- //background
- PANEL2D BackGround;
-
- //loading
- PANEL2D Loading;
- PANEL2D Progress;
- DXFONT DxFont;
-
- //intro
- PANEL2D Logo3DGames;
- PANEL2D LogoPLE;
-
- //Intro Becher
- PANEL2D BecherGame;
-
- //---------
- //Menu
- //---------
-
- //cursor
- PANEL2D Cursor;
-
- //main menu
- PANEL2D LogoPilot;
-
- PANEL2D LogoPlane;
- PANEL2D LogoArcade;
- PANEL2D LogoAir;
- PANEL2D LogoBecher;
-
- PANEL2D ButtonCampaing;
- PANEL2D ButtonBattle;
- PANEL2D ButtonCredits;
- PANEL2D ButtonExit;
- PANEL2D ButtonBack;
-
- //campaing
- PANEL2D Missions;
- int MaxMission;
-
- //credits
- PANEL2D LogoCredits;
- DXFONT CreditsFont;
-
- //---------
- //Briefring
- //--------
- PANEL2D LogoBriefring;
- PANEL2D ButtonRestart;
- PANEL2D ButtonContinue;
- PANEL2D ButtonEnd;
-
- //-----
- //gui
- //-----
-
- //ukazovatel zivota
- PANEL2D Pilot;
- PANEL2D Bevel;
-
- DXFONT GuiFont;
-
- //mapa
- PANEL2D Map;
- PANEL2D Frag;
-
- //tahometer
- PANEL2D TBack;
- PANEL2D TRuc;
-
- //kompas
- PANEL2D Kompas;
-
- //ukazovatel bomb
- PANEL2D TBomb;
-
- public:
-
- void DrawLoading(int Prog, char *Text);
-
- //intro
- void RefreshIntro();
- float TimeIntro;
- bool EnabledIntro;
-
- //intro becher
- void RefreshBecherGame();
- float TimeBecherGame;
- bool EnabledBecherGame;
-
- //main menu
- void RefreshMainMenu();
- bool EnabledMainMenu;
- float TimeMainMenu;
- int ModeMainMenu;
-
- //campaing
- void RefreshCampaing();
- bool EnabledCampaing;
- float TimeCampaing;
- int ModeCampaing;
- int CampaingLevelIndex;
- void SaveArray(int MaxLevelIndex);
- void LoadArray();
-
- //credits
- void RefreshCredits();
- bool EnabledCredits;
- float TimeCredits;
- int ModeCredits;
-
- //gui
- void DrawGui();
- void DrawMap();
-
- //briefring
- void LoadBriefring(int LevelIndex);
- void RefreshBriefring();
- bool EnabledBriefring;
-
- //flag celeho menu
- bool EnabledMenu;
-
- //inicialize
- void Initialize();
-
- //refresh
- void Refresh();
-
- };
-
- //============================================================
- #endif //_MENU_H_